package cn.dslcode.security.config.security;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Component;

/**
 * @author dongsilin
 * @version 2018/4/11.
 *          加密机制
 */
@Component
public class CustomPasswordEncoder extends BCryptPasswordEncoder /*Md5PasswordEncoder*/ {

    public CustomPasswordEncoder() {
        super(8);
    }

}
